<?php

	class Security {
						
		public static function format($string){
			Log::write("Security::format");
			Log::write("input : ". $string);			
			$var = htmlspecialchars(htmlentities($string));
			$specialChar = array("/","\\","#");
			$var = str_replace($specialChar, "", $string);			
			Log::write("output : ". $var);
			Log::write("Fin Security::format");
			return $var;
		}
		
		public static function encrypt($string){
			return $string;
		}
	}

?>